package com.hqd.ch03.v29.jdbc.core;

import java.sql.PreparedStatement;
import java.sql.SQLException;

/**
 * SQL执行回调
 */
@FunctionalInterface
public interface StatementCallback<T> {
    T doInStatement(String sql, PreparedStatement stmt) throws SQLException;
}
